$OpenBSD: patch-tests-lha-test1,v 1.2 2014/04/18 22:59:32 jasper Exp $
--- tests/lha-test1.orig	Sun Jul 27 18:13:34 2003
+++ tests/lha-test1	Sun May  9 10:03:28 2004
@@ -2,10 +2,10 @@
 message testing to create/list/extract lha archive.
 
 i=0
-while (( i < 100 ))
+while [ $i -lt 100 ]
 do
     echo foo
-    ((i = i + 1))
+    i=`expr $i + 1`
 done > test-a
 sed 's/foo/bar/g' < test-a > test-b
 sed 's/foo/baz/g' < test-a > test-c
